#ifndef COMMUNICATION_H
#define COMMUNICATION_H

#include <QString>
#include <QDate>

class Communication {
private:
    int messageID;
    int patientID;
    int doctorID;
    QString message;
    QDate date;

public:
    Communication() = default;
    Communication(int id, int pID, int dID, const QString& msg, const QDate& d);
    int getMessageID() const;
    void setMessageID(int id);
    int getPatientID() const;
    void setPatientID(int id);
    int getDoctorID() const;
    void setDoctorID(int id);
    QString getMessage() const;
    void setMessage(const QString& msg);
    QDate getDate() const;
    void setDate(const QDate& d);
};

#endif // COMMUNICATION_H
